-- GENERATED SPELL FOR [Njormeld] --


function spell0_30099(pUnit, Event) --@Kill Credit,n/a--
pUnit:FullCastSpellOnTarget(55960,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30099', 614, 1)
end

function Sorts_30099(pUnit, Event)
local choix_sorts_30099 = math.random(0, 0)
if choix_sorts_30099 == 0 then
pUnit:RegisterEvent('spell0_30099', 1, 1)
end
end

function mob30099_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30099', math.random(1500, 3000), 1)
end

function mob30099_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30099_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30099_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30099, 1, 'mob30099_Action')
RegisterUnitEvent(30099, 2, 'mob30099_Leave')
RegisterUnitEvent(30099, 3, 'mob30099_Kill')
RegisterUnitEvent(30099, 4, 'mob30099_Die')
